package com.itheima.reggie.service;

import com.itheima.reggie.entity.Dish;
import com.itheima.reggie.entity.Page;
import com.itheima.reggie.entity.dto.DishDto;

import java.util.List;

public interface DishService {
    void save(DishDto dishDto);

    Page<DishDto> getByPage(Integer page, Integer pageSize, String name);

    DishDto getById(Long id);

    void updateDish(DishDto dishDto);

    List<DishDto> getByCategoryId(Long categoryId, Integer status);
}
